package com.boxin.framework.base.entity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.thinkgem.jeesite.common.persistence.BaseEntity;


public class SelectItem {
	
	private String key;
	private String value;
	
	
	public SelectItem(String key,String value){
		this.key = key;
		this.value = value;
	}
	
	
	public final static Map<String,String> cancelStatusMap = new HashMap<String,String>();
	public final static List<SelectItem> cancelStatusList = new ArrayList<SelectItem>();
	
	static {
		
		cancelStatusMap.put(BaseEntity.STATUS_NORMAL, "未使用");
		cancelStatusMap.put(BaseEntity.STATUS_CLEAR, "已核销");
		cancelStatusMap.put(BaseEntity.STATUS_DROP, "已作废");
		
		cancelStatusList.add(new SelectItem(BaseEntity.STATUS_NORMAL, "未使用"));
		cancelStatusList.add(new SelectItem(BaseEntity.STATUS_CLEAR, "已核销"));
		cancelStatusList.add(new SelectItem(BaseEntity.STATUS_DROP, "已作废"));
		
		
	}
	
	public static List<SelectItem> getCancelstatuslist() {
		return cancelStatusList;
	}
	
	
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
	
	
	

}
